﻿Public Class Form1
  Private Sub Form1_Load(
        ByVal sender As System.Object,
        ByVal e As System.EventArgs) _
        Handles MyBase.Load
    Dim ancStyle As New AnchorStyles
    FlowLayoutPanel1.Anchor =
      CType(AnchorStyles.Left + AnchorStyles.Top +
      AnchorStyles.Bottom + AnchorStyles.Right, 
      AnchorStyles)
  End Sub
End Class
